package com.yungu.swift.assets.driver.service;

import com.yungu.swift.assets.driver.model.dto.DriverFaceRecognitionDto;
import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.service.BaseService;

import java.util.Map;

/**
 * 司机人脸识别
 *
 * @author Mojo - Generate
 * @version 1.0.2-RELEASE
 * @since 2018-12-20 15:02:46
 */
public interface DriverFaceRecognitionService extends BaseService<DriverFaceRecognitionDto> {

    /**
     * 人脸识别校验
     *
     * @param map
     * @return
     */
    ResponseData<Map<String, Object>> checkCertification(Map<String, Object> map);

    /**
     * 通知认证结果
     *
     * @param map
     * @return
     */
    ResponseData<DriverFaceRecognitionDto> informResult(Map<String, Object> map);
}